JavaFX and Spring test