make tests pass again

Also removed ruby 1.8 code, travis matrix updated.