added TestGoenv constructor