Bug/reset test environment

@scotdalton @hab278 Added in these lines to reset the test environment before running rspec and cucumber
@scotdalton Yes it's actually always running in the cucumber environment because a few lines above it's forced `ENV['RAILS_ENV']='cucumber'`. I put it in there just to keep it safe (sanity check really) and the same as the rspec one