pattern recognition aptitude tests