Test list-ref.