Adding assertion error generator