Fix tests that incorrectly used !@has instead of @!has
#80565
Merged
!@has instead of @!has
#80565