Issue #2355709: Adding .travis.yml, also minor fix to one of the test so it passes in phantomjs