Make 'npm test' work

Use standard 'npm test' to run tests, and document using it. This will also be used by Travis.