Mock out hidtrigger ffi for tests