I assume that you are checking a line where globe and gate valve come in that section.
You cannot belive that these two valves even if they are adjacent, will hold the pressure. No matter how tight you close, they will pass and they do pass. Even if these two valves pass two drops of water, you can see noticable pressure drop. If you need very small leak through these valves, you will need mention, specially, tight-shut-off valves and class..., depending on the leak you expect.
So, it is best to keep these two valves and do the test, so you are sure whole segment is subjected to test pressure.