Refactored JUnit tests into a separate module to include them in the build

Includes UI thread setup with access to the Workbench