Tom: "How long did you stay in Australia?"
Gary: "I actually spent one week in Melbourne, last summer"
Tom: "I have heard that you had never been to Australia before. Did you enjoy it?"
Tom could have said: "I have heard that you had never been to Australia before you went to Melbourne last summer", although it's of course more natural to ask "I've heard it was the first time you went to Australia".
Could a teacher confirm?