Adding tests for list operations.