Changed error messages thrown when assertions fail.