fix failure test cases of shadow trees

fix failure test cases of shadow trees because a few elements can't be shadow root