Added Patch file testing

Also Minor fix in items.py