According to what you have mentioned, if there is a necessity to be examined by a gynecologist, it is permissible to get the test done.
As long as you have asked for a 2nd opinion from specialists than you are allowed to go for the test for further investigation.