Ensure compatibility with frameworks that don't provide String#ends_with?

I kept getting:

    NoMethodError: undefined method `ends_with?' for "/answer":String

... while running tests on a Sinatra-based Twilio application. Using `.match(/\.xml$/)` achieves the same thing in a more portable way.