add testing script to npm