Testing prealloc