Adds a recording StreamResult for writing tests with.