added testing for loadItems which fixes #4