test for read