Rename assertToken to assertTokenOfKind

This new name better reflects what this function does.