Add unit tests for table operations.
Add benchmarks to match the state and table unit tests. Format the code with the go formatting tool.