cleanup server env for tests