The html check can be done at this point? That way, we make the whole test finish faster.