test on list of references