added end-to-end csv test