Add PDB RE code getter, update test.