ioctl tests