added tests for ServiceQueue