Inheritance testing for FFI