reduce expected threads from 16 to 8 to improve general performance
Add CollectionFactory.getExpectedThreads

IP: fixed contract test