was added test for service with promise