add bool field to write test