Hi, and thanks for your medical question on eHealth forum!
If you are testing before your due date, the test will be negative. Cramping in lower abdomen and lo back ache with nausea can be due to IBS or pelvic inflammatory disease. Since you had unprotected sex, chances of PID are more. Since a confirmed diagnosis cannot be given on net please discuss these possibilities with your gynecologist once. Hope this helps. Take care!