Replaced makefile with npm test.

This makes the module testable by travis and any another system. `npm test` is a node convention.