make tests Ruby 1.8[.7-p371] friendly
add Travis CI