API: testing: relax condition that desired match xp in assertions
#785
+15
−12
desired match xp in assertions
#785