Fixing an important memory leak in ArrayListImpl_remove().
Fixing a memory leak in a test.
Added a new remove test case that DOESN'T only remove the 0th index.