Add tests for ordinary subProcess