Change collection to varchar and add test.