Fix mod.constants cannot return the single character constant
Merge pull request #1606 from bggd/patch-1

Fix mod.constants cannot return the single character constant
modify test case to check #1606
Merge branch 'master' into iij