[client][test][python] Extract HatoholServerEmulator to share other tests