add some critical section and fork test case to HW7_1