replaced text assertions with url assertions