Add test for fetchAll