fixed test with service