Added test class for services