Added tests for item retrieval. Fixes #13.