add test case with serializer and net