add extra deps for mercurial requirements app, fix test