Adjust ReferenceSerializer tests to change in WikibaseDataModel

Refers to change I2ce18fb2151d7d940bb020bcb7a594d74bfea35d

Change-Id: I36f5a98a443c4a1f1ba9e5e85cc3de676f812637