tweaked a test case that could fail randomly on slow machines.