improved error reporting in testReadAndalo