pattest