remove writeDOT calls from test