Finished test for read function.