Added exception handling for AddList method.
Added more assertion related tests.