Added tests for MockService