Fix item and itemlist bugs.
Fix itemlist test bugs.