modified unit test to ensure search abortion