make check context specific
Merge pull request #1314 from marcel-blonk/PLFM-2791

make check context specific