Add test of control flow and utilities