Fix how mem_free adds freed blocks back to the free list
-also replaced mem_test with the first free test