further implementation of the new control_chain, and some tests, following the examples of the documentation