added few more tests to the SerializerTest
added simple tests for serialization
Merge branch 'andrey'