Replace spec_helper.mock with jasmine.createSpyObj. Extract spec timeout adjustment into spec_helper