Added JUnit test project and unit tests