MT#7495 Add customer prefs to test.

Check for customer prefs and related defs in test.

(cherry picked from commit 2fece899a0f8252d4299ae23e86a036ed2c390f1)