[SUBMODULE-APPLY] Fixed setting up test case and context.