added NaN test for append_col
added NaN test for append_row