Merge pull request #273 from shaitan/python

Python: fixed typo.
Test: Use random ports for servers
Merge pull request #274 from euroelessar/master

Test: Use random ports for servers