Update tests to use the new action constructor