adds a test to see if read works, and finishes read