fixed subprocess tests