Add tests around rekey using WAL mode