Optimize coverage test