Test Rails dynamic db switch on request