added Reader() tests and some functionality, TDD style