tests/harness.py: support mapping the current test path to '%CWD%' for event files