add npm scripts for tests and travis integration