Updates to item retrieval API tests, and an API fix.