Move integration to cli

Moved tests:
* TestRunCidFileCleanupIfEmpty
* TestRunCidFileCheckIDLength