[x86] Add a test case for PR22390 which was a dup of PR22377 and fixed