fix another test to make sure we don't randomly get a memory segment of size 0