Which sentence uses the correct form of the past perfect tense?
A) I have finished my homework yesterday.
B) She had went to the store before I arrived.
C) They had eaten dinner when the guests arrived.
D) He is seeing the movie last night.
E) We are going to the beach last summer.