added a helper function to construct a dummy request in schema tests