New tests are being developed to spot early signs of breast cancer and endometriosis in urine.