Added Junit test and started writing some test methods