I suggest not looping through all wells if there is no wildcard, ie. test first, and just return with a normal getWell call.