Adding unit test for action_plans_decorator