partly fix test file