Add test for reading all objects