Further developed the logic. Added a TestActor class.