rev-parse tests: add tests executed from a subdirectory