Doesn’t God know beforehand, what the results of His test will be?
yes but a good programmer always tests masterpiece software before mass deployment.