grammar: fix missing literalvalues in default constraint
unittest: add test for literalvalue in default constraint