Bug/reset test environment

@scotdalton @hab278 Added in these lines to reset the test environment before running rspec and cucumber
@barnabyalter does it usually run in the cucumber env?