Wrote two persistence tests; they seem to work as expected.