add test for service