fixed issue with mcmc_writer_test using char rather than string