add clunky integration test for storage buffer, and some improved logging