** Added test for issue-83
** Fix for Issue #83 (added a check that prevents processing
instructions to be set as first / last nodes while inserting new nodes)