while helping with one of the support tickets I realised we are missing tests for HA maintenance mode. So I wrote them