create service and it's unit test