Use _cpt AND cpt ...

... take care of ascending compatibility.

Added a test for 'cpt' variable because of ascending compatibility.

Moreover, I added the same tests for WMI and files collect ...