Better row construction and general tidy up.
Adding some Basic Unit tests.
Making sure we strip and excess whitespace so that the layout of the
table still works.
Removed unneeded imports and useless code from the test file.