add test to run check if warning error is cover