fix 'context inheritance' test