Added test for ContextBuilder