Added getBulkSnapshot to memory db and tests