implemented and added classes for test