added check for mercurial n test