Add a test for the fix references feature.
Deeper check that things are being patched correctly.