fix process spawning with explicitly specified environment in test harness