Added unit tests for the common command services.

AFDP-32