add test for service impl