Added the ability to configure custom assert functions