Add cache testing to reader tests