Write integration test for ActorWorker