add test for output=stream
add test for subdirectory
add test for patched stdout/stderr
add test for elapsed_times