added NaN tests for fwd/operators