added definitions for assertion-error
added definitions for buffer-equal