checking the testGetAll method