Factor out test environment intialization for task_install.