Worries

If I tested positive for a pregnancy test 7 days before period and the lines did get darker the 2nd day... (6days away from period) does that mean it can be a chemical? Or have any of you tested positive that early??