A test of stimulus generalization models