Adding some basic tests.

- Adding some basic tests.
- Adding Travis-CI file.
- Adding npm tasks to mirror most make tasks.