Tidied up test code
Added top level JavaFX application window with a menubar and tab pane