test string as key and int