Added unit tests to List.