Fixed shared.rs spacing, improved Ari tests to include new write_terminator() functions.