build
fix test runner
refactor readtables