More tests for ftw.upgrade API.