Added some more tests to List class, and fixed some minor bugs in the list class.