testing: Also capture stderr during test cases