Adding assertions to test the results of retrieveAll