Fixed population of demotion order date and court

* Renamed fields in PDF to correct problem
* New test approach takes hash of values from PDF to compare against expected values