Small fixup for unittests compatibility with carray