Fleshed out context writer test suite.