The Present Perfect Simple and Continuous, the Past Perfect Simple and Continuous, and the Past Simple and Continuous 
Level: Intermediate
1.  When I ... home, everything ... upside down. Someone ... in, and ... some money I ... in the bedside table. 
2.  The flag ... at half-mast because the president ... that very same day. 
3.  While he ... a book, a loud bang ... his attention. Something bad ... . 
4.  When she ..., he ... her that he ... her secret admirer, and that he ... her. The worst thing ... that she ... him secretly too. 
5.  Why are you wearing a tracksuit? 
6.  Where ...? 
7.  Why ... her yet? 
8.  While I ... in the woods, it ... to rain heavily. I ... a cave and I ... in, but, to my surprise, there ... a bear. 
9.  ... Castilian wine? 
10.  When we ... home, we ... a nasty surprise: someone ... into our house, and nothing ... .