As the teacher gave a difficult test, he let them use a dictionary.
A.
Giving a difficult test, the teacher let them use a dictionary.
B.
Given a difficult test, the teacher let them use a dictionary.
C.
As the teacher gave a difficult test, he let them use a dictionary. - NO CHANGE POSSIBLE