Added test for flat dynamic type builder.