Fixed unit tests after moving the production repositories to a different location. Also upgraded all unit tests to use JUnit 4.