adding spec for set_parameter