Added unit tests.
Added npm ignore to remove Makefile and tests.