[Issue #524] Changed constructor usage

Used constructor with ObjectIdResolver in ObjectIdInfo.withAlwaysAsId(...) + Unit test