updated test for env test