Extract readData to allow testing
Add tap for testing
Add a test
Flesh out the test suite