wrapped default and test environment