Fix tests in Ruby 1.8.7.
Remove Gemfile.lock.