pattern recognition tests practice