changed RACK_ENV to test