Evaluating pupils' understanding of arithmetic