Unit tests for Cell and Tableboard

Add unit tests that cover Cell class and quite a good chunk for
TableBoard.