Mocking library for angularjs's q service.