I would like to test the first or the last item in a list