Added test case for command argument being a string or an object