commited the junit Test class
modified the class and added methods