add python subprocess tests