Allow tests to run on ruby 1.8