use assertAlmostEqual for testing ufunc results in ufunc tests.

assertPreciseEquals caused problems in python3 due to numpy differences
identifying numpy types as integers.