fix parallel test issues with rake test [Bug #9211]