adds subprocess error test
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>