IMAP tests pretty much green; fixing ActiveSync tests

compose is probably unhappy too, although the new DeviceStorage helper
should be of assistance.