Test for NaNs in result