added test for client-side buffer cleanup