Fixed Request query and header rendering and Request tests