added clearer tests for setting param bag