reorganizing contains test