Add new tests.

Add a test for a few edge cases I wasn't testing before:

i) Null free

ii) Many allocations