fixed wrong denominator in test; updated text error messages