Fix bug in IntegerMultisetTest

The bug was in quantities assignment that was performed in makeRandomNumsWithQuantities method. Quantities were always set to zero and the fix allows proper quantities value assignment.

Also, loops that should've "popped" elements until there's 0 of them never actually managed to get their amount down to 0. The problems was in wrong loop condition check (--q > 0).