cleanup tests and rebuild gemfile