Add extensive readtable tests, fix everything that's failing