Alphabetize control tests.
Fix missing `local` declarations in tests.
Fix `do_` called without a function.
Improve `compose` to have less corner cases.