add unit test for teacher service implementation