Test fixes for writer constructor change.