Testing scan, problems with missing keys in insert