Added a javafx test library and used it succesfully to test that the buttons work