test env preparation