testenv preparation