Added tests for fetching all objects