remote-hg: add bidirectional tests