Fixed problem with compatibility of actor macro with 2.3.6, and added test around it