write_results test