add method `DockTest.env`