well, the first few times is trial and error. Also, try not to look so much at the butterflies.. look more at the ground. Sometimes the butterflies look like they are right in front of you, but they are actually in the back ground... so.. find a safe walking pattern by watching the ground. You can win the butterfly test by not getting into any battles too.
Good luck! It takes some time <img src="/images/graemlins/smile.gif" alt="" />