tests: Add setting of mandatory flag to the D-Bus tests