[ARQ-1304] Create test ApplicationContext through factory method.
what: very first draft, to be refactored and improved.