A model for the frequency response of a near-wall hot wire: velocity perturbation and sine-wave voltage perturbation tests