Fixed Mercurial testing