[fix] update connect to fix test and use non-decprecated methods
[test] add current node versions to travis.yml and use strings for versions