Adding tests to npm test