[ARQ-962] Provide the way to specify the strategy on instantiting AppllicationContext e.g. each test method or each test case

Provide the way to specify the strategy on instantiting AppllicationContext e.g. each test method or each test case