Create tga-write-test.c