Introduce a TestRequestInput subclass to make the creation of RequestInput in tests convenient. See gh-310