test that NaN samples are written when results are missing