test base: handle app context
Merge pull request #59 from orvsd/base_test_app_context

test base: handle app context