A program to test the read and write under append mode.