Based on your discovery this week, it'd probably be a good idea to add two valid test for zero length call lists, once where the num is explicitly set to 0, and one where no array num is includes ( ie. event_data is NULL ).