added tests for encoding in read_fastq
added tests for encoding in write_fastq
added tests for terminal in plot_histogram