more robust test checking
modernizes spec_helper.rb