Add unit test for readAll() method.