Table mapping unit tests are refactored