improve tests with stubbing

+ `toHaveBeenCalledWith`