update to 'new' ControlList API

add (double when, double value, bool with_guards=true, bool with_default=true);
fix small memory leak in the tests