[imp #2] Fix serializers

Add unit tests for Synchronization Protocol's serializers.