graph tests through indexOf