Can cats tell if you're pregnant?

My male cat never is affectionate to me, and only lays on my side when I sleep and usually bites me or runs away when I try to pet him or interact with him at all, and my husband is usually the one who gets all the affection from him, but tonight our cat walked over and proceeded to lay on my stomach but wouldn't lay anywhere else and let me pet him as he slept on my stomach , my period is 5 days late and on one of the tests I took I saw a vvvfl on it, is my cat sensing that I'm pregnant ?