test: Add test for empty struct ffi