Fix a tranche of comment, test and doc typos