fix test server setup
randomize test ports
Merge pull request #39 from crate/m/test_setup

fix test setup