Wrong field name

The field is supplier_invoice_number but the code try to read supplier_invoice_reference
so it is never executed. Added a test to check the correct behavior of the methods.
This is v8 code. It doesn't work in v7.