'Test out of bounds previtem().'

def test_first(self, neighborlist):

    neighborlist.firstitem()
    assert (neighborlist._idx == 0)
    with pytest.raises(IndexError):
        neighborlist.previtem()
    assert (neighborlist._idx == 0)
