Testing class without its own destructor, but a member that has a destructor