Trial to challenge legality of GM facilities program