Updated the tests so that they should work on Ruby 1.8.7