Testing some networking and JavaFX