[HatoholMessageBox][test] Clean up with a helper function.