fix for initialization of test environments