Adds comments to TableBuilder and implements unit tests for TableBuilder