added testcase for binary instances of ContextType/ContextSchema