Test for ha-mode setting