fix for bug 877262 in one of the tests that failed on macosx