Replace spy.andReturn and spy.and.returnValue