This test only asserts the NotImplementedError. Is it supposed to make sure that _write_root_tag_close() doesn't fail? Shouldn't we assert that the tag was indeed written?