SES-1676 : Add tests for canCreateLiteral