travis, npm test, & trailing spaces

couple misc fixes I made after forking