How to easily mock ajax calls using Jasmine's spies.
Binds on success callback to the custom object to simulate get('responseData') method.