creation of class and test class