messages tests