working test for environments