Williams was tested and even lost the first set on Court One, but fought back to win in three