Test for closure type.