updated test for race conditions with new collection