Fixed issue with config.json file not being found and issue where upstreamPort wasn't being honored

I've noticed that you're not running the unit tests on a CI, do you want me to set up Travis for you?