Stub and set expections for HTTP requests in Protractor tests for Angular applications