Update spec_helper.rb

Samirah delivered changes to spec_helper.rb on April 7 to fix a problem with loggers not being cleaned. During a subsequent review, Igor requested/suggested some additional changes which Samirah agreed to. However the changes did not get checked in, so checking them in now.