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