Herpes???

My boyfriend and I had oral sex on Sunday (I was receiving) and on tuesday he woke up with a cold sore. Is there any chance he could have given it to me before the cold sore was active? Should I get tested?