added tests for startservice