rewrote assertion rewriting tests