Text this: Written tests through the lens of mathematical competence