Lock down rest-client version on ruby 1.8.7
Fixed tests on ruby 1.8.7