Add ioctl free blocks test for test_io.c