Tests of specHelper.mockService + bug fixes