don't crash when failed to determine context
Merge pull request #27 from dymonaz/uncaught-exception-before-tests

don't crash when failed to determine context