reader tests and fixes