add zrealloc shell and change uint32_t to size_t
add realloc test
added realloc