add simple testcase for SerializerFactory
need to register byte[]/char[] before String
slight change