Set RAILS_ENV=test on rake test_app

Got weird issues while building dummy apps in extensions because the
dummy development db, which we don't really care about, was not being
dropped and migrations would always fail