fixed a test case that may behave slighly differently on slow machines.