diff --git a/src/collectors/memcached/test/testmemcached.py b/src/collectors/memcached/test/testmemcached.py
index <HASH>..<HASH> 100644
--- a/src/collectors/memcached/test/testmemcached.py
+++ b/src/collectors/memcached/test/testmemcached.py
@@ -5,6 +5,7 @@
 from test import CollectorTestCase
 from test import get_collector_config
 from test import unittest
+from mock import MagicMock
 from mock import Mock
 from mock import patch
 
@@ -27,6 +28,15 @@ class TestMemcachedCollector(CollectorTestCase):
     def test_import(self):
         self.assertTrue(MemcachedCollector)
 
+    @patch('socket.socket')
+    def test_get_raw_stats_works_across_packet_boundaries(self, socket_mock):
+        socket_instance = MagicMock()
+        socket_mock.return_value = socket_instance
+        stats_packets = ['stat foo 1\r\n', 'END\r\n']
+        socket_instance.recv.side_effect = stats_packets
+        stats = self.collector.get_raw_stats('', None)
+        self.assertEqual(stats, ''.join(stats_packets))
+
     @patch.object(Collector, 'publish')
     def test_should_work_with_real_data(self, publish_mock):
         patch_raw_stats = patch.object(
Add test for stats packets across boundaries.