I am a little confused. You said you took a test as soon as you could, which is at most a day or two before your expected period(not really reliable until after you missed your period), but then say you got your period 5 days early, so you would not have even been able to take a test yet at that point. So when did you first test? while you were bleeding? Or after it was done? Because after it was done, you say, was still a day before you were expecting it. Your expected ovulation day is 14 days before your period is due. so if you expected your period on the 1st of July you would have ovulated around the 18th of June give or take a day. And you would not reliably be able to test until July 2nd or later depending on your body.
So depending on when you actually ovulated would tell more about if you could be pregnant. when was the first day of your last period? How many days is your average cycle? And what were you expecting your period? With that info, we could probably guesstimate when you ovulated and more reliably give you a guess as to whether you could be pregnant or not. Tests are not always accurate depending on your body, and some people require blood tests while others can get accurate results well before their expected period.