fixed test finding regexp