The tests seem to be missing from this patch.
The tests were accepted long time ago. See dlls/ntdll/om.c,test_null_in_object_name().
But those tests pass already.
The description in the patch provides an explanation: "terminating '\0' in the key name doesn't survive saving/loading the registry."