fix test for 7533
Merge pull request #2110 from hpohl/7533

What could possibly go wrong