testcase for fcontext