Fixed a bug with declaring the tableHelper and also making sure the provided path is a real path.
Added a test for making the realpath test fail.