added test for get cmd