Add tests on the ProcessOpen wait flag