fixed vacuum and status tests
fixed bug where buffers where not working correctly
added tests for writing buffers and writing multiple buffers