Fix 2 small bugs related to passing in empty arrays to the table class

Also fixed some spelling.
Also added a test for these issues.
Merge pull request #71 from bskrtich/master

Fix 2 small bugs related to passing in empty arrays to the table class