fixed some tests
modified gemfile