Add TestRunner#record method.