Add/improve EntityContentDataCodec tests

Still: The idea "this should never change" belongs to a test.

Change-Id: Ibc4e5122cff776550df9d650fa887d8dbe7a021e
Merge "Add/improve EntityContentDataCodec tests"