small changes to make unit tests pass; need to parse and compile plan (discovered issues with test script) and JobStats is now an abstract class