testing for items and with groups