fix and add tests for parameter filtering; dynamically reload params to
filter