added test cases related to disableHtmlEscape flag #21

please review and if all OK, merge to master. #21