Well, looking closer: at one corner the Samyang is clearly sharper, but in the other corner the Sigma is clearly sharper. Possible that I'm not exactly perpendicular to the bookshelf, and with the narrow DoF a corner could be out focus.
So, it seems at f/2 it's about equal. Of course, AF-S does not really work at f/2, I had to use AF-C for the Sigma lens.
Also, it seems my Sigma lens is OK in spite of the rough handling by Amazon. Still, thinking of returning it and getting a new one just to be on the safe side.
I suggest testing the lenses outside in the real world. A bookshelf at short distance is not perfect to test the corner sharpness at f/2.
Would be curious to hear your reasoning for that. IMO, testing in the "real world" can very easily mask, or at least not allow you to see flaws in a lens. For example, two of your corners might be showing featureless sky -- how does that help?
At best, shooting in the "real world" might allow you to see some characteristic of a lens that can't yet be easily quantified, and which might give it a slight edge in one's overall scoring. But for testing something as fundamental and quantifiable as corner sharpness at f/2, I'd take a bookshelf over the ambiguous "real world" any day.
https://www.google.com.au/amp/s/photographylife.com/what-is-field-curvature/amp
This is an issue particularly for testing wide angle lenses, which may have noticeable field curvature at close distances (like the bookshelf) but very little at longer distances (eg 10+ metres). Lens designs are about trade-offs and they will look to target best performance for the most commonly used situations, which is probably not 2 metres away.
I find that the side of a big building is a good test scene but getting precisely perpendicular is still a challenge, particular for the top and bottom of the frame. You really need to be a bit elevated compared to the scene.
Some people use a line of buildings on the horizon taken from a hill but you then have issues with atmospheric haze.
Finding a good WA lens test scene is tricky!