Testing the constructor class for the cmd script