Improve test of RegisterItemsMethod