added better reporting when assertions fail, not complete though