@lovinglife2016,
Just get the damned paternity test when the baby comes, and own up to what happened.
If the non-boyfriend is the father, then he has rights in this matter. If the boyfriend is the father, then he has the right to know that you had sex when the two of you were technically on a break.
Stop trying to find ways to weasel and wiggle out of this, and face the music either way.