Avoid app crash if settings does not have TEST_MODE
Merge pull request #2 from edx/ziafazal/skip_test_mode

Avoid app crash if settings does not have TEST_MODE