Travis Ruby 2.1 fix

https://github.com/travis-ci/travis-ci/issues/2220
Implement uniqueness spec