Add unit tests to validate table structure

Change-Id: Ie056d9f94988a688d2aa67f1306e5cafa896887e