added mocha-based sync tests
mocha based sync and async tests pass