fix test by passing a real request