minor: convert error handling from CmdError to TestError

BUG=none
TEST=manual

Review URL: http://codereview.chromium.org/3327007
1 file changed