Added Test case for context setting