Move contains method to the test transformer resolver