unit test for serialize started