Added an additional test for NaNs.