More tests for dynamic_constructor.