Fixed #106 - Updated SyncMessage handling in unit tests to use SyncMessa...

...ge.parse() and SyncMessage.stringify()
question: do we really need an interface function? For the toSyncMessage is fine coz we are converting Json->string->symcmessage because syncmessage does not have support for that functionality. But for a string, syncmessage already has stringify which itself is an interface method. Why do we need another interface method to wrap the syncmessage interface method?