Added the cmd tests.