test the cnd writer