Unit tests take into consideration exceptions or assertions are enabled