make test more robust
Merge pull request #1568 from marcel-blonk/PLFM-3048

make test more robust