notmuch-test: Add a new add_message function.