Implemented simple assert functionality