This is interesting. What is the test, and how do you prevent someone from doing it?
Well testing C14 levels in dinosaur bones. No matter what the result, it didn't happen and won't be published.
One can test the probabilities that varying degrees of complexity found in nature would or could ever occur spontaneously or randomly and the way you prevent someone from doing it is to fire them from your faculty in order to send a message to anyone else thinking about doing said tests. Ben Stein’s movie “Expelled” covered the entire subject contained in both your questions in great detail.