Added test for the MissingContext exception