test: Introduce TEST_DESTRUCTOR macro