fix cache buster in imap_message_action
add a simple suite of tests for the IMAP class public interface