added a test for the fetch all added by parth