Converted to Test::Tester.