[hud] Make tests optional