Update test to reflect removing methods from Environment.