fix test when coverage