support {this} keyword in TestDoc