Added test for the new ADAPT_STRUCT API capable to deduce member types.