add context chain tests.