changed tests so that parallel for loop tests and ordinary interpreter tests separate; also change kernel generator to generate environment