unit tests for the cp execution module

unit tests ftw