make application context for test framework more consistent with runtime
Merge pull request #441 from tkunicki/master-sc

Make application context for test framework more consistent with runtime