fixed a test domain service class definition