add GenerateRandomTestPort and Try add Unit test
travis: fix path type