Wrote integration test to make sure the actor concurrency works properly.