modified junit dependencies and added test cases for Core