Test adding actions and fix trigger xml export bug