Silencing expected assertion failures