Create ContextManager and it works as expected