Tests with javafx