Added function List<T>.reset(), and more tests to List<>