Added literal-related tests.Fixed problems with literals