test gtf write