untested cons generator
cons generator test