add a test program for the new ftruncate functionality