created comment class and test
fixing all test cases