remote-helpers: add tests for testgit helper