Removed an unnecessary exception throw in the execution method.

AFDP-187
Added unit test module for the new command.

AFDP-187