added timeout option to RunCommand test case