added NaN test for append_row