fix test environment