Searching for Yang-Lee zeros in O(N) models