Configured tests to be run correctly on Travis + Compatibility with Ruby 1.8.7