adding assert wrapper functionalities