Added test for bug fix (CompositionProxyTypeBuilder crashed when type had protected constructor)