added test cases for the class diagram