CDS: Modify ShardManagerTest to use TestActorFactory