Added test for inherited data context.