refs #8137. Skip tests if module import impossible.
refs #8137. No skipif decorator in python 2.6
Merge remote-tracking branch 'origin/feature/8137_fix_tests'