Refactored unit tests - moved test buffers into separate module.