Use an instance method instead of class method

There is an advantage to use an instance method, it allows using
addCleanup method, therefore, 'create_server' method will be responsible
for cleaning the server resource in the end of the test.

Change-Id: I59b8b52bb542741bbba779bac5c7ee01515211c1
5 files changed