test for offender with string index