update measurePositive and measureNegative tests