Fix test 'cannot use reference code for different person'.