Update runCmd() and unit test.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Removed compiled binary for test.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Ignored main.test.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>