Enhanced assertions for uri identity tests