Test log comparison