Add headers to the mock request method to fix broken tests