use append to put data in the slice
added check for presence of key in the bucket map
Added a tables attribute for sql backend type
Changed the count value expected from testing
Skip first entry when extracting additonal references