modify the test condition for bucket