Fixed subprocess tests.