Add unit tests on updateActor
Revert bad delete of util method