CD to a known directory before starting the test.

Fixes some failures when the daemon is run from transient directories.