shows how to test wether a class has an protected destructor