added support for writing tests 

$related https://github.com/openpeer/hcs-system-tests/issues/1