Updated tests to also handle ruby 1.8.7