Increase homeassistant.util test coverage