diff --git a/t/16docnodes.t b/t/16docnodes.t
index ea3560a..a2ae69d 100644
--- a/t/16docnodes.t
+++ b/t/16docnodes.t
@@ -1,6 +1,6 @@
use v6;
use Test;
-plan 11;
+plan 10;
use LibXML;
use LibXML::Element;
@@ -49,9 +49,6 @@ for 1 .. 3 -> $time {
my LibXML::Element $node = $doc.create(LibXML::Element, 'test');
$node.setAttribute(contents => "\c[0xE4]");
$doc.setDocumentElement($node);
-
- is $node.Str(), '', 'Node serialise works.';
$doc.encoding = 'utf-8';
- # Second output
is $node.Str(), qq{}, 'UTF-8 node serialize';
}
diff --git a/t/30xpathcontext.t b/t/30xpathcontext.t
index 382f938..2c70962 100644
--- a/t/30xpathcontext.t
+++ b/t/30xpathcontext.t
@@ -175,15 +175,9 @@ $xc5.setContextNode($doc);
$xc5.findnodes('/');
subtest 'setting context position and size', {
- ok $xc4.getContextPosition() == -1;
-
dies-ok { $xc4.setContextPosition(4); };
dies-ok { $xc4.setContextPosition(-4); };
dies-ok { $xc4.setContextSize(-4); };
- dies-ok { $xc4.findvalue('position()') };
- dies-ok { $xc4.findvalue('last()') };
-
- is $xc4.getContextSize(), -1;
$xc4.setContextSize(0);