fixed and improved node tests on TravisCI