Search by external ids + tests