[Issue  #524] Used constructor with ObjectIdResolver in ObjectIdInfo.withAlwaysAsId(...) + Unit test