fix issue #1254 Allow the same context to be used multiple times in configuration

The unit test will not pass until the https://github.com/yahoo/ycb/pull/21 is merged and ycb is updated.