Drop the test code that requires webrat, fixes #1569