Update docs + add tests for TableRegistry.

Fix some documentation and start adding tests for TableRegistry.
Remove unused static property.