Got tree saving/recoupling from the database in unit tests.