added NaN test for check_positive
added NaN test for check_positive_finite