Bug/reset test environment

@scotdalton @hab278 Added in these lines to reset the test environment before running rspec and cucumber