Tests for fputcsv improvements

Hey,

per our conversion on monday on irc ( i'm error_code ), here is the phpt tests for the fputcsv patch.