editItem test for ItemResource