added JUNIT test classes