Functional test for storage cmd