add test for generating a legal choice