added tests for db existing
added test if port is bound
Merge pull request #29 from PhillipNordwal/tests

errorproofing tests