add autotest to npm scripts