added test for retrieving all entries