Fix warning about shadowed parameter
Remove constness from onParameterUpdated

Yeah, the problem is that in this method, the observer probably wants to do
some work which would involve changing its internal state, so as nice as it
would be to keep a const pointer to this object it cannot be so.
Tests for min/max/default value
Add parameter type, corresponding tests