refs #912 - add textContent property to the assertion object

One solution for ref # 912.