Downgrade to 1.8.7 compatible gems
Add hash rockets in tests
Syntactical changes for ruby 1.8.7