update assertions to show they can use text or regex