Some tests and a start to an io reader