add docs for readtables
update readtable tests to use new api