fix(task): resolve paths in demo and in actual use

Correct path handling for test runner so that it resolves paths properly even when run in the task demo.