That test does not use optional on any one-to-one association.
Even with `optional` on the parent-side, the secondary query is generated as illustrated by this test case.