added realloc test