diff: add tests for --relative without optional prefix value