update tests
Fix check postgres has table
Merge pull request #209 from rbg/master

Add HasTable()
Merge pull request #210 from rbg/master

HasTable Test should clean up.