hm the zerosized test does at least not crash :)
but probably it should explicitly check