spec testing for requests