Needed to move the UnitTests.java file into a package (com.example.SubGameObj.Tests) to access UnitTests when using compiled library. Added static method runTests(int) to the UnitTests file.