Add test code accessing private field.