ported js test suite from dweetio-client and completed api coverage