Add buffered data classes

Check it and the concept in background
Move this test to the right test class. It has nothing to do with serialization.