Fix: functional test for envSpec (try2)