added some testcases and made it possible for implementing actor systems to get access to the ActorRefFactory in order to implement proper serialization