Dummy test
First passing test
Change: take realloc out of main()
Refactored into library code
Added tests
Fixed dumb crash