more lookup tests, fix for environment listing