fixed environ_test