Added ENV['RACK_ENV'] to make test work properly