Restructured the unit tests and fixed problems loading scripts and datasets via the classpath