Fix a bug in the handling of processing-instruction() test.