<p>1.) I hadn't been working (work) there long when she quit.</p>
<p>2.) She hadn't been working (work) but she was tired anyway.</p>
<p>3.) It hadn't been raining (not/rain) long when I got home.</p>
<p>4.) He was in trouble with the teacher because he hadn't been going (go) to classes.</p>
<p>5.) We hadn't been living (live) in London for three years when we got married! It was more like five years.</p>
<p>6.) Although it was hot in the kitchen, Julie hadn't been cooking (cook).</p>
<p>7.) I hadn't been sleeping (sleep) long when there was a knock at the door.</p>
<p>8.) He didn't feel healthy because he hadn't been going (go) to the gym.</p>
<p>9.) I caught a cold because I hadn't been eating (eat) properly.</p>
<p>10.) She looked tired but she hadn't been studying (study).</p>