added test to ensure array literals work in WHEN. Modified macro to accept commas.