add cmdtest dependency