I am guessing the idea is to catch runtime errors in the test phase, and assertions are disabled for the production build.