Ovulation on the pill?

I have been on the pill for a few months now and randomly took an ovulation test today which was positive....has anyone else had this? I took a pregnancy test after and it was negative but also was expired in May. It sure what is going on...any thoughts?