fix to fail test case on multi-core machine