Fixed test coverage in ActorTest