The influence of cognitive psychology on testing