adding test to npm