add test to npm scripts