Fix PID field indexes

The indexes for the PID were off by such that if you tried to call
a field like patient_dob you would get the value for previous element.

This commit fixes this issue and adds a full test for all values of a PID.