fix testOutputNotWritable test