fix and test for initvaluemap options of select2 widget