fixed coverity scan errors of type "test should be assignment" when using ATLVERIFY