Fixed a couple of errors in ArrayList
Further testing and bugfixes
More testing
More tests