单项选择题

In this experiment, they were wakened several times during the night, and asked to report what they ______.

A.have just been dreaming
B.had just been dreaming
C.are just dreaming
D.had just dreamt