change commitWithin for test to 2000 rather than 1000 - saw a fail where the commit happened faster than the 10 docs are added.