tests: add test of for hash reference translation by `hg convert`

Authored by martinvonz.

Description

tests: add test of for hash reference translation by hg convert

The convert extension translates commit references in the commit
message. We didn't have any explicit testing of this before, so let's
add a test.

Differential Revision: https://phab.mercurial-scm.org/D6212

Details