pattern recognition test maker