Cleanup test environment and Gemfile