Make assertSessionHasErrors more useful