add test for checking not in criteria