Test that len(messages) != 0