catch test subshell failures