Fixed one call, removed obsolete/irrelevant tests

Fixed the call to createProcessingInstructionNode
Removed irrelevant tests
Removed test using createEntityReference since it seems to be a
deprecated function.