Adding tests for list.