wrote spec that ensures collection param being used properly