Refactoring.
Completed TableMetaData tests.