[PATCH 03/11] test/demo: Use relative paths to change directories when possible