added TestUtil.assertEqualsSafe for (T, Double) types