Testing Cognitive Models through Computer-Controlled Experiments