union will contest assembly elections