adding more methods and tests to CapturedRequest