The time expression' yesterday' tells us clearly that the time is finished,so the past simple is used here. Also remember that the present perfect can be used to talk about the past action,but we don't tell the exact date when the action happened. It simply tells us about the past experience.
- I worked for IBM in 2000
- I have worked for IBM. (It is my past experience)
Also, the present perfect can be used to talk about an action that happened the past and continues to the present. We normally add the expressions like "for 2 days... since Monday...)
I have taught English for 3 years.
Want to learn more from me?