Setup command runner for tests