tests: make EBADF test a little more verbose

not sure why failing on core2