fix tests env