implemented CachingActorFactory
fixed actor tests