(bug 62210) Avoid EntityContent::save in repo tests

NOTE: this does not cover removing EntityContent::save from API tests. Will do
that in a separate patch.

Change-Id: I3a2301a69b8ff6cdc4880a12c55ab7adb7e1c28d
Merge "(bug 62210) Avoid EntityContent::save in repo tests"