The generator already preserves nullability for self-referential object
$defs thanks to prior fixes, but issue #14 had no regression coverage.
Add a test using the exact reproduction schema from the issue and verify
that both the outer and recursive `self` fields accept `null`.