test reader generic functions