Allow `destructiveTest` to also decorate classes