Add test for ranks to DataModelSerializationRoundtripTest

Change-Id: I17ec50c365957dbdeac73b6fdccedcaea0f6b0d6
Merge "Add test for ranks to DataModelSerializationRoundtripTest"