free and alloc
free and alloc tests
remove unneeded equal
fix alloc test
rearranging things