Examples of using "昨日は試験があったんです。" in a sentence and their english translations:
We had an examination yesterday.