Added PrimitiveTypeSerializerTest.