updated tests and gemfile