https://youtu.be/PoUlJplInkg
The problem with TestFX was related to a wrong version, in your build.gradle it should be:
testCompile "org.testfx:testfx-core:4.0.16-alpha" testCompile "org.testfx:testfx-junit:4.0.16-alpha"
Then its works like a charm.