don't test on Perl 5.8 with travis
implemented writer
fix reader test