Currently _direct.py has 8% test coverage as we completely bypass this module when testing direct.py.
We'll need to mock ctypes a bit to make it work, but it shouldn't be too bad.