Issue #3372972 by Wim Leers, phenaproxima, NickDickinsonWilde, smustgrave: Fix all type: machine_name constraint violations in tests