Added serializer test for buffer.used