test .destroy() and .destroyAll() class methods