SimplePerson.testCode reproduces the failure (testCode.code is not audited). SimplePersion.genericCode shows the correct behavior (genericCode.code is audited).