`error` is reserved in Lua.
Switch to nested query syntax in `compose`.
Correct an array limits test for new compose syntax.
Finish `do_`, `branch`, and `error_` tests.