Testing export to CSV