Added test methods for mock service.
Added test methods for mock service.