fixed some hasparameters tests