[Debug cmd] added test.