fix Issue 7848 - pure and nothrow ignored on unittest blocks