Refactor and test table create / list / drop.