Fix: Ruby 1.8.7.
Fixed test tasks, should work with Travis.