test last unreachable line in writer