module Sinatra::Test

def respond_to?(symbol, include_private=false)

Also check @response since we delegate there.
def respond_to?(symbol, include_private=false)
  super || (@response && @response.respond_to?(symbol, include_private))
end