Add unit test for ClearInstrumentParameters.

Refs #10020.