added ability to use custom assertion function name