mock ajax specs for service.