Fixed npm test.
Finished configuring unit tests.