message history tests