Testing dynamic control values with generics, see #1