Unittests: Add unittest for loss of ownership after CHANGING_OWNER.