test updateActionSetsSingleCategory adapted
fixed error in updateAction when setting single category
test createActionAddsSingleCategory adapted
fixed error in createAction when setting single category