Add tests for new blob writing functionality.