Refactor: Clean in-daemon tests.