Yes, several people know that. Oh, would you like someone to provide the information you didn't ask for? Sure, I can take a stab at it.
Generally, company policy controls. Some companies prohibit it, some allow it, the vast majority are silent. As far as I've been able to find, the codes tend to be silent. Again, this one comes down to Engineering Judgement.
Few valves are truly bubble tight, so testing against a valve can cause a steady bleed off that looks like a leak (remember that in a pneumatic test, a leak looks like a spring slowly uncoiling instead of a rapid depressurization like you would see with a hydrostatic test). If you are using air or nitrogen for your test media, you could easily cause serious process problems on the other side of the leak.
I always install skillet blinds on the test side of block valves. You have to be REALLY careful to get the thickness right because it can be impossible to remove the wok you made by pressurizing a skillet that is too thin (the time I missed a decimal point we had to blow down a couple of miles of 12-inch line to drop the block valve to remove the wok).
David