Add a test for corrected if-nodelist
Correct nodelist for case tag