Merge pull request #3 from tribal-tec/review

Unit tests for SerializeBuffer and SwapSyncObject
Test

Change-Id: Ice4248453b1673cca5cdc55540f1e8bcdfdabf0e