Added mercurial tests