t1515: add tests for rev-parse out-of-repo helpers