completion: add a test for __git_remotes() helper function