Added configuration for npm test so travis can run the tests