Remove old debug code from itemmodel tests.