+check { $a[4] = 'd' } { set => 1 }, 'assign new element';
+
+$b = check { exists $a[4] } { }, 'exists';
+is $b, 1, 'array: exists correctly';
+
+$b = check { delete $a[4] } { set => 1 }, 'delete';
+is $b, 'd', 'array: delete correctly';
+
+$b = check { @a } { len => 1 }, 'length @';
+is $b, 3, 'array: length @ correctly';
+
+# $b has to be set inside the block for the test to pass on 5.8.3 and lower
+check { $b = $#a } { len => 1 }, 'length $#';
+is $b, 2, 'array: length $# correctly';