Replace HudE tests with array loop.