convert ActionType to use ParamType instead of variants,
extend tests