test of csv val-fn