ACCUMULO-2709 Fix a work maker test

The work entries might get created in separate passes. Only fail the test
if we didn't get the desired number of entries after some number of checks.