Silly credits.
Realloc seems to be working.
Added missing  tests to repo.