Start with unit tests, and make sure af & bk saving can handle errors