Moved itempatt test to testpatt