Unit tests for ResolveDependencyCommand.