Past tenses

Put the verbs in brackets into the Past Perfect or Past Perfect Continuous, then press "Check" to check your answers.
1. By the time I came back, Mike and Jane (already / leave).
2. Yesterday I went to an interesting museum that I (not / visit) before.
3. By the time we arrived, she (wait) for us at the train station for three hours.
4. Boris caught the flu because he (walk) in the rain too long.
5. I went to school after I (have) breakfast.
6. Alice was late because she (miss) the bus.
7. We (look) for her ring for two hours and then we found it in the bathroom.
8. By 8 o’clock the rain (stop).
9. They were very tired in the evening because they (work) on the farm all day.
10. How long (she / learn) English before she went to London?
11. He got a bad mark for his test because he (make) a lot of mistakes in it.
12. The child (fall) asleep before the parents came home.