Test ActorRef serialization.