Added minimal implementation of List interface and ArrayList object to make test pass.