fix tests to use obtuse environment injection