It is failing because the main phone number in the class PhoneNumber is overridden by the alternative phone numbers when the document is stored.
Not sure why the it ony fails with JDK 8