another try to get the configuration in MemChecker tests right

Suggested by Brad King.
Merge topic 'MemChecker-improvements' into next

b353a2d another try to get the configuration in MemChecker tests right