[testlib] handle skips in setUp and tearDown [applied]