Add npm test for unit tests