Added test-flock.c