Add some test classes for service interface.