added spec to npm tests