fixed item repo test bugs