(PUP-1151) Fix environment enumeration endpoint test