tests: add proper test_fail() to ioctl tests

were not failing properly on machines w/o perf_event support.