[server][testHatoholArmPluginGate] Separate the execution of g_main_loop_run() from checking the content of the message.