Wrote a test for reading