Ladies plz answer

If they dont see the yolk in the sac at 5 weeks pregnant, would my prego test still be coming positive? Or no?

And if the babys heart isnt beating would my test still be positive? And if the heart did stop beating would i misscarry that same day?

Sorry im just really worried about being pregnant, trying to get all these scary questions out of the way.