test for different enclosure type