adding class and its test