Use RACK_ENV to indicate environment

Added test environment to log4r set up
Deleted a 'puts'